package com.gable.exhibition.dao;

import com.gable.exhibition.model.TrainFile;
import com.gable.exhibition.view.TrainFileView;

import java.util.List;

public interface TrainFileDao {
    int deleteByPrimaryKey(Long trainFileId);

    int insert(TrainFile record);

    int insertSelective(TrainFile record);

    TrainFile selectByPrimaryKey(Long trainFileId);

    int updateByPrimaryKeySelective(TrainFile record);

    int updateByPrimaryKey(TrainFile record);

    List<TrainFileView> queryTrainList(TrainFileView trainFileView);
}